package com.renjibo.sharkerwave.adapter;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.renjibo.sharkerwave.R;

/**
 * 任继波
 * Created by Administrator on 2017/4/24.
 */

public class EvaluateAdapter extends RecyclerView.Adapter<EvaluateAdapter.ViewHolderEvaluate> {
    private Context context;
    private final LayoutInflater inflater;

    public EvaluateAdapter(Context context){
        this.context=context;
        inflater = LayoutInflater.from(context);
    }
    @Override
    public ViewHolderEvaluate onCreateViewHolder(ViewGroup parent, int viewType) {

        return new ViewHolderEvaluate(inflater.inflate(R.layout.evaluate_recycler_item,parent,false));
    }

    @Override
    public void onBindViewHolder(ViewHolderEvaluate holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 3;
    }

    class ViewHolderEvaluate extends RecyclerView.ViewHolder{

        public ViewHolderEvaluate(View itemView) {
            super(itemView);
        }
    }
}
